﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Students:Person 
    {
      
        public string Major { get; set; }
        public string Grade { get; set; }


        public void bb()
        {
            Console.WriteLine("学生ID为：{0}，姓名为：{1}，性别为：{2}，身份证号为：{3}，联系方式：{4}，专业：{5}，年级:{6}年级", this.ID, this.Name, this.Sex, this.Cardid, this.Tel, this.Major, this.Grade);
        }
    }

}
